import java.rmi.Remote;
import java.rmi.RemoteException;
import java.sql.ResultSet;

import javax.sql.rowset.WebRowSet;

public interface DataProcess extends Remote{
	
	public WebRowSet GetTable(String tableName) throws RemoteException; // Ham lay toan bo du lieu tren server
	
	public int ExecUpdateSQL(String sql)throws RemoteException;// Ham thuc thi Update
	
	public WebRowSet GetRecord(String condition, String tableName)throws RemoteException;
	
	public ResultSet getTable(String tableName) throws RemoteException; // Ham lay toan bo du lieu tren server
	
	public WebRowSet GetDataBySQL(String sql)throws RemoteException;

	
}